Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

446
Visualizações
Apache MINA sshd | When I added the dependency and import it in the class I get "the type org.apache.sshd.client.SshClient is not accessible" error

I use Java 11 with JavaFX. When I added Apache MINA as a Maven dependency and then perform an import statement in the java class I get the following error message:

"The type org.apache.sshd.client.SshClient is not accessible"

I have added the dependency:

<dependency>
        <groupId>org.apache.sshd</groupId>
        <artifactId>sshd-core</artifactId>
        <version>2.8.0</version>
</dependency>

Then I import into class:

import org.apache.sshd.client.SshClient;

But it doesn't work. I get the above error. What am I doing wrong? Please help.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

The Mina library 2.8.0 isn’t modular as far as I can tell, so it will probably be easier to access and use it if you have no module info.

Create a non modular app without a module info.java file. Place your application code and the Mina libraries and dependencies on the class path. Add JavaFX modules through command line switches as those need to be accessed via the module path, not the class path.

Refer to the relevant documentation on non-modular applications at openjfx.io getting started.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda